﻿<UserControl x:Class="HomeModuleAddin.Views.TaskButtonView"
             x:Name="TaskButton"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" d:DesignHeight="30" d:DesignWidth="147">
    <Button MaxHeight="30" Command="{Binding ShowModuleDashboard}">
        <Button.Template>
            <ControlTemplate>
                <StackPanel Orientation="Horizontal">
                    <Image Source="./Images/1303161359_control-panel-px-png.png" />
                    <Label Content="Dashboard" VerticalContentAlignment="Center" />
                </StackPanel>
            </ControlTemplate>
        </Button.Template>
    </Button>
</UserControl>
